projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4224caf
)
(server-visit-files): Use add-to-history.
author
Kim F. Storm
<storm@cua.dk>
Fri, 5 May 2006 23:37:55 +0000
(23:37 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 5 May 2006 23:37:55 +0000
(23:37 +0000)
lisp/server.el
patch
|
blob
|
history
diff --git
a/lisp/server.el
b/lisp/server.el
index befcd22ad3afa35c2c0cc44640cc00d3ca16e865..43b2dc633894e6c2d1db1f80e8568b8e504514e6 100644
(file)
--- a/
lisp/server.el
+++ b/
lisp/server.el
@@
-411,7
+411,7
@@
so don't mark these buffers specially, just visit them normally."
;; deleted file, offer to write it.
(let* ((filen (car file))
(obuf (get-file-buffer filen)))
- (
push filen file-name-history
)
+ (
add-to-history 'file-name-history filen
)
(if (and obuf (set-buffer obuf))
(progn
(cond ((file-exists-p filen)